<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
<meta content="GTween,com.gskinner.motion.GTween,DELAY,END,FRAME,HYBRID,START,TIME,TWEEN,autoPlay,autoRotation,autoVisible,data,defaultEase,duration,ease,nextTween,pauseAll,reflect,repeat,rotationProperties,snapping,snappingProperties,activeTicker,delay,lockStartProperties,paused,position,propertyTarget,proxy,reversed,state,target,timeInterval,timingMode,tweenPosition,beginning,deleteProperty,end,getProperties,getProperty,getStartProperties,invalidate,linearEase,pause,play,reverse,setAssignment,setPosition,setProperties,setProperty,setStartProperties,setTweenProperties" name="keywords">
<title>com.gskinner.motion.GTween</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'GTween - API Documentation';
				var baseRef = '../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">GTweener Example</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?com/gskinner/motion/GTween.html&amp;com/gskinner/motion/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;GTween</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a>&nbsp;| <a href="#constantSummary">Constants</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class GTween"); titleBar_setSubNav(true,true,false,false,true,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.gskinner.motion</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class GTween</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">GTween <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Subclasses</td><td><a href="../../eclecticdesignstudio/motion/GTweener.html">GTweener</a></td>
</tr>
</table>
<p></p>
 <b>GTween ©2008 Grant Skinner, gskinner.com. Visit www.gskinner.com/libraries/gtween/ for documentation, updates and more free code. Licensed under the MIT license - see the source file header for more information.</b>
 <hr>
 GTween is a light-weight instance oriented tween engine. This means that you instantiate tweens for specific purposes, and then reuse, update or discard them.
 This is different than centralized tween engines where you "register" tweens with a global object. This provides a more familiar and useful interface
 for object oriented programmers.
 <br/><br/>
 In addition to a more traditional setProperty/setProperties tweening interface, GTween also provides a unique proxy interface to tween and access properties of target objects
 in a more dynamic fashion. This allows you to work with properties directly, and mostly ignore the details of the tween. The proxy "stands in"
 for your object when working with tweened properties. For example, you can modify end values (the value you are tweening to), in the middle of a tween.
 You can also access them dynamically, like so:
 <br/><br/>
 <code>mySpriteTween.proxy.rotation += 50;</code>
 <br/><br/>
 Assuming no end value has been set for rotation previously, the above example will get the current rotation from the target, add 50 to it, set it as the end
 value for rotation, and start the tween. If the tween has already started, it will adjust for the new values. This is a hugely powerful feature that
 requires a bit of exploring to completely understand. See the documentation for the "proxy" property for more information.
 <br/><br/>
 For a light-weight engine (<4.5kb), GTween boasts a number of advanced features:<UL>
 <LI> three timing modes: frame based, time based, and hybrid
 <LI> works with any numeric properties on any object (not just display objects)
 <LI> sequenced tweens using .nextTween
 <LI> pause and resume individual tweens or all tweens
 <LI> jump directly to the end or beginning of a tween with .end() or .beginning()
 <LI> jump to any arbitrary point in the tween with .position
 <LI> auto hide for alpha tweens, sets visible to false when alpha is 0 or less with .autoVisible set to true
 <LI> smart tweening for rotation (rotates in the shortest direction) with .autoRotation and .rotationProperties
 <LI> property snapping (rounding) with .snapping and .snappingProperties
 <LI> complete, init, and change events
 <LI> smart garbage collector interactions (prevents collection while active, allows collection if target is collected)
 <LI> uses any standard ActionScript tween functions
 <LI> support for tweening objects like colorTransform and matrix that need to be reassigned to a property
 <LI> easy to set up in a single line of code
 <LI> can repeat or reflect a tween specified number of times
 <LI> .reverse() method will reverse a linear tween seamlessly, respecting repeat and reflect
 <LI> deterministic, so setting a position on a tween will (almost) always result in predictable results
 <LI> very powerful sequencing capabilities in conjunction with GTweenTimeline.
 </UL>
 Also see GTweenFilter and GTweenTimeline for more advanced functionality, or GTweensy for a more lightweight engine.
  <hr/>
 <b>Beta 5 updates (Feb 1, 2009):</b><br/>
 Beta 5 constitutes a major rewrite of GTween. Much of the API has been changed, and it is recommended that you read the API documents
 to familiarize yourself with the new capabilities. The following list might not be exhaustive.
 <ul>
 <li> low level rewrite of positioning logic, to make position handling fully deterministic
 <li> removed .clone();
 <li> removed .useSetSize and related functionality
 <li> removed activate event
 <li> removed .addProgressPoint functionality (use GTweenTimeline with .addCallback instead)
 <li> removed .addChild and related functionality (use GTweenTimeline with .addTween instead)
 <li> removed .assignmentTarget and .assignmentProperty in favour of .setAssignment()
 <li> removed .autoReverse property, use repeat and reflect instead
 <li> renamed BEGINNING, DELAY_PHASE, and TWEEN_PHASE to START, DELAY, and TWEEN respectively
 <li> renamed .useSmartRotation to .autoRotation
 <li> renamed .autoHide to .autoVisible
 <li> renamed .useSnapping to .snapping
 <li> added .repeat property, which lets you specify the number of times the tween should repeat
 <li> added .reflect, which causes the tween to play backwards when it repeats
 <li> added .reversed property, which causes the tween to play backwards
 <li> added .getProperties(), which returns a hash table of end values
 <li> added .setStartProperties(), allows you to manually specify the start values
 <li> added .getStartProperties(), which returns the start values
 <li> added .lockStartProperties, which prevents start values from re-initing
 <li> added .tweenPosition, which provides a calculate position between 0 and duration
 <li> added .setPosition, which allows you to specify whether to suppress events when manually setting position
 <li> the .state property is now calculated on demand
 <li> reduced size to under 4.5kb for GTween
 </ul>
 <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#activeTicker">activeTicker</a> : ITicker<div class="summaryTableDescription">[static][read-only] The currently active Ticker object.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#autoPlay">autoPlay</a> : Boolean = true<div class="summaryTableDescription">
  Indicates whether the tween should automatically play when an end value is changed.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#autoRotation">autoRotation</a> : Boolean = false<div class="summaryTableDescription">
  When true, the tween will always rotate in the shortest direction to reach an end rotation value.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#autoVisible">autoVisible</a> : Boolean = true<div class="summaryTableDescription">
  Indicates whether the target's visible property should automatically be set to false when its alpha value is tweened to 0 or less.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#data">data</a> : *<div class="summaryTableDescription">
  Allows you to associate arbitrary data with your tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#defaultEase">defaultEase</a> : Function<div class="summaryTableDescription">[static] Specifies the default easing function to use with new tweens.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#delay">delay</a> : Number<div class="summaryTableDescription">
  The length of the delay in frames or seconds (depending on the timingMode).</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#duration">duration</a> : Number = 1<div class="summaryTableDescription">
  The length of the tween in frames or seconds (depending on the timingMode).</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#ease">ease</a> : Function<div class="summaryTableDescription">
  The easing function to use for calculating the tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#lockStartProperties">lockStartProperties</a> : Boolean<div class="summaryTableDescription">
  If set to true, this prevents the tween from reinitializing its start properties automatically (ex.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#nextTween">nextTween</a> : <a href="../motion/GTween.html">GTween</a>
<div class="summaryTableDescription">
  Specifies another GTween instance that will have paused=false called on it when this tween completes.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#pauseAll">pauseAll</a> : Boolean = false<div class="summaryTableDescription">[static] Setting this to true pauses all tween instances.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#paused">paused</a> : Boolean<div class="summaryTableDescription">
  Indicates whether the tween is currently paused.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#position">position</a> : Number<div class="summaryTableDescription">
  Gets and sets the position in the tween in frames or seconds (depending on the timingMode).</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#propertyTarget">propertyTarget</a> : Object<div class="summaryTableDescription">[read-only]
  Returns the object that will have its property tweened.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#proxy">proxy</a> : Object<div class="summaryTableDescription">[read-only]
  The proxy object allows you to work with the properties and methods of the target object directly through GTween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#reflect">reflect</a> : Boolean = false<div class="summaryTableDescription">
  Indicates whether the tween should use the reflect mode when repeating.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#repeat">repeat</a> : int = 0<div class="summaryTableDescription">
  The number of times this tween will repeat.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#reversed">reversed</a> : Boolean<div class="summaryTableDescription">
  Indicates whether a tween should run in reverse.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#rotationProperties">rotationProperties</a> : Object<div class="summaryTableDescription">[static] A hash table specifying properties that should be affected by autoRotation.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#snapping">snapping</a> : Boolean = false<div class="summaryTableDescription">
  If set to true, tweened values specified by snappingProperties will be rounded (snapped) before they are assigned to the target.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#snappingProperties">snappingProperties</a> : Object<div class="summaryTableDescription">[static] A hash table specifying properties that should have their value rounded (snapped) before being applied.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#state">state</a> : String<div class="summaryTableDescription">[read-only]
  Returns the current positional state of the tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#target">target</a> : Object<div class="summaryTableDescription">
  The target object to tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#timeInterval">timeInterval</a> : uint<div class="summaryTableDescription">[static]
  Sets the time in milliseconds between updates when timingMode is set to GTween.TIME ("time").</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#timingMode">timingMode</a> : String<div class="summaryTableDescription">[static]
  Indicates how GTween should deal with timing.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#tweenPosition">tweenPosition</a> : Number<div class="summaryTableDescription">[read-only]
  Returns the calculated absolute position in the tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#GTween()">GTween</a>(target:Object = null, duration:Number = 10, properties:Object = null, tweenProperties:Object = null)</div>
<div class="summaryTableDescription">
  Constructs a new GTween instance.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#beginning()">beginning</a>():void</div>
<div class="summaryTableDescription">
  Jumps the tween to its beginning.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#deleteProperty()">deleteProperty</a>(name:String):Boolean</div>
<div class="summaryTableDescription">
  Removes a end value from the tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#end()">end</a>():void</div>
<div class="summaryTableDescription">
  Jumps the tween to its end.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getProperties()">getProperties</a>():Object</div>
<div class="summaryTableDescription">
  Returns the hash table of all end properties and their values.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getProperty()">getProperty</a>(name:String):Number</div>
<div class="summaryTableDescription">
  Returns the end value for the specified property if one exists.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getStartProperties()">getStartProperties</a>():Object</div>
<div class="summaryTableDescription">
  Returns the hash table of all start properties and their values.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#invalidate()">invalidate</a>():void</div>
<div class="summaryTableDescription">
  Invalidate forces the tween to repopulate all of the initial properties from the target object, and start playing if autoplay is set to true.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#linearEase()">linearEase</a>(t:Number, b:Number, c:Number, d:Number):Number</div>
<div class="summaryTableDescription">[static] The default easing function used by GTween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#pause()">pause</a>():void</div>
<div class="summaryTableDescription">
  Pauses the tween by stopping tick from being automatically called.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#play()">play</a>():void</div>
<div class="summaryTableDescription">
  Plays a tween by incrementing the position property each frame.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#reverse()">reverse</a>(suppressEvents:Boolean = true):void</div>
<div class="summaryTableDescription">
  Toggles the reversed property and inverts the current tween position.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setAssignment()">setAssignment</a>(assignmentTarget:Object = null, assignmentProperty:String = null):void</div>
<div class="summaryTableDescription">
  Allows you to tween objects that require re-assignment whenever they are modified by reassigning the target object to a specified property of another
  object.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setPosition()">setPosition</a>(position:Number, suppressEvents:Boolean = true):void</div>
<div class="summaryTableDescription">
  Sets the position of the tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setProperties()">setProperties</a>(properties:Object):void</div>
<div class="summaryTableDescription">
  Shorthand method for making multiple setProperty calls quickly.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setProperty()">setProperty</a>(name:String, value:Number):void</div>
<div class="summaryTableDescription">
  Sets the numeric end value for a property on the target object that you would like to tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setStartProperties()">setStartProperties</a>(properties:Object):void</div>
<div class="summaryTableDescription">
  Allows you to manually assign the start property values for a tween.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setTweenProperties()">setTweenProperties</a>(properties:Object):void</div>
<div class="summaryTableDescription">
  Shortcut method for setting multiple properties on the tween instance quickly.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
</table>
</div>
<a name="eventSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Events</div>
<table id="summaryTableEvent" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Event</th><th>Summary</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:change">change</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 This event is dispatched each time the tween updates properties on its target.</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:complete">complete</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Dispatched when a tween ends (its position equals its duration).</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:init">init</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Dispatched when a tween copies its initial properties and starts tweening.</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
</table>
</div>
<a name="constantSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Constants</div>
<table id="summaryTableConstant" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#DELAY">DELAY</a> : String = "delay"<div class="summaryTableDescription">[static] Constant for the DELAY state.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#END">END</a> : String = "end"<div class="summaryTableDescription">[static] Constant for the END state.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#FRAME">FRAME</a> : String = "frame"<div class="summaryTableDescription">[static] Constant for the FRAME timingMode.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#HYBRID">HYBRID</a> : String = "hybrid"<div class="summaryTableDescription">[static] Constant for the HYBRID timingMode.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#START">START</a> : String = "start"<div class="summaryTableDescription">[static] Constant for the START state.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#TIME">TIME</a> : String = "time"<div class="summaryTableDescription">[static] Constant for the TIME timingMode.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#TWEEN">TWEEN</a> : String = "tween"<div class="summaryTableDescription">[static] Constant for the TWEEN state.</div>
</td><td class="summaryTableOwnerCol">GTween</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="activeTicker"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">activeTicker</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>activeTicker:ITicker</code>&nbsp;&nbsp;[read-only]<p> The currently active Ticker object. </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public static function get activeTicker():ITicker</code>
<br>
</div>
<a name="autoPlay"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">autoPlay</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var autoPlay:Boolean = true</code><p>
  Indicates whether the tween should automatically play when an end value is changed.
  </p></div>
<a name="autoRotation"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">autoRotation</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var autoRotation:Boolean = false</code><p>
  When true, the tween will always rotate in the shortest direction to reach an end rotation value.
  For example, rotating from 355 degress to 5 degrees will rotate 10 degrees clockwise with .autoRotation set to true.
  It would rotate 350 degrees counter-clockwise with .autoRotation set to false. This affects all properties specified
  in the static .rotationProperties hash table.
  </p></div>
<a name="autoVisible"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">autoVisible</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var autoVisible:Boolean = true</code><p>
  Indicates whether the target's visible property should automatically be set to false when its alpha value is tweened to 0 or less.
  Only affects objects with a visible property.
  </p></div>
<a name="data"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">data</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var data:*</code><p>
  Allows you to associate arbitrary data with your tween. For example, you might use this to reference specific data when handling events from tweens.
  </p></div>
<a name="defaultEase"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">defaultEase</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static var defaultEase:Function</code><p> Specifies the default easing function to use with new tweens. If null, GTween.linearEase will be used. </p></div>
<a name="delay"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">delay</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>delay:Number</code>&nbsp;&nbsp;[read-write]<p>
  The length of the delay in frames or seconds (depending on the timingMode). The delay occurs before a tween reads initial values or starts playing.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get delay():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set delay(value:Number):void</code>
<br>
</div>
<a name="duration"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">duration</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var duration:Number = 1</code><p>
  The length of the tween in frames or seconds (depending on the timingMode). Setting this will also update any child transitions
  that have synchDuration set to true.
  </p></div>
<a name="ease"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">ease</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var ease:Function</code><p>
  The easing function to use for calculating the tween. This can be any standard tween function, such as the tween functions in fl.motion.easing.that come with Flash CS3.
  New tweens will have this set to the defaultTween. Setting this to null will cause GTween to throw null reference errors.
  </p></div>
<a name="lockStartProperties"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">lockStartProperties</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>lockStartProperties:Boolean</code>&nbsp;&nbsp;[read-write]<p>
  If set to true, this prevents the tween from reinitializing its start properties automatically (ex. when end properties change).
  If start properties have not already been initialized, this will also cause the tween to immediate initialize them.
  Note that this will prevent new start property values from being initialized when invalidating, so it could cause unexpected behaviour
  if you modify the tween while it is playing.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get lockStartProperties():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set lockStartProperties(value:Boolean):void</code>
<br>
</div>
<a name="nextTween"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">nextTween</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var nextTween:<a href="../motion/GTween.html">GTween</a></code><p>
  Specifies another GTween instance that will have paused=false called on it when this tween completes.
  </p></div>
<a name="pauseAll"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">pauseAll</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static var pauseAll:Boolean = false</code><p> Setting this to true pauses all tween instances. This does not affect individual tweens' .paused property. </p></div>
<a name="paused"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">paused</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>paused:Boolean</code>&nbsp;&nbsp;[read-write]<p>
  Indicates whether the tween is currently paused. See play() and pause() for more information.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get paused():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set paused(value:Boolean):void</code>
<br>
</div>
<a name="position"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">position</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>position:Number</code>&nbsp;&nbsp;[read-write]<p>
  Gets and sets the position in the tween in frames or seconds (depending on the timingMode). This value can be any number, and will be resolved to a tweenPosition value
  prior to being applied to the tweened values. See tweenPosition for more information.
  <br/><br/>
  <b>Negative values</b><br/>
  Values below 0 will always resolve to a tweenPosition of 0. Negative values can be used to set up a delay on the tween, as the tween will have to count up to 0 before initing.
  <br/><br/>
  <b>Positive values</b><br/>
  Positive values are resolved based on the duration, repeat, reflect, and reversed properties.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get position():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set position(value:Number):void</code>
<br>
</div>
<a name="propertyTarget"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">propertyTarget</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>propertyTarget:Object</code>&nbsp;&nbsp;[read-only]<p>
  Returns the object that will have its property tweened. In a standard GTween, this will usually be the same as target, except if an assignmentTarget was set.
  This also makes it easy for subclasses like GTweenFilter can divert the property target.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get propertyTarget():Object</code>
<br>
</div>
<a name="proxy"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">proxy</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>proxy:Object</code>&nbsp;&nbsp;[read-only]<p>
  The proxy object allows you to work with the properties and methods of the target object directly through GTween.
  Numeric property assignments will be used by GTween as end values. The proxy will return GTween end values
  when they are set, or the target's property values if they are not. Delete operations on properties will result in a deleteProperty
  call. All other property access and method execution through proxy will be passed directly to the target object.
  <br/><br/>
  <b>Example 1:</b> Equivalent to calling myGTween.setProperty("scaleY",2.5):<br/>
  <code>myGTween.proxy.scaleY = 2.5;</code>
  <br/><br/>
  <b>Example 2:</b> Gets the current rotation value from the target object (because it hasn't been set yet on the GTween), adds 100 to it, and then
  calls setProperty on the GTween instance with the appropriate value:<br/>
  <code>myGTween.proxy.rotation += 100;</code>
  <br/><br/>
  <b>Example 3:</b> Sets an end property value (through setProperty) for scaleX, then retrieves it from GTween (because it will always return
  end values when available):<br/>
  <code>trace(myGTween.proxy.scaleX); // 1 (value from target, because no end value is set)<br/>
  myGTween.proxy.scaleX = 2; // set a end value<br/>
  trace(myGTween.proxy.scaleX); // 2 (end value from GTween)<br/>
  trace(myGTween.target.scaleX); // 1 (current value from target)</code>
  <br/><br/>
  <b>Example 4:</b> Property deletions only affect end properties on GTween, not the target object:<br/>
  <code>myGTween.proxy.rotation = 50; // set a end value<br/>
  trace(myGTween.proxy.rotation); // 50 (end value from GTween)<br/>
  delete(myGTween.proxy.rotation); // delete the end value<br/>
  trace(myGTween.proxy.rotation); // 0 (current value from target)</code>
  <br/><br/>
  <b>Example 5:</b> Non-numeric property access is passed through to the target:<br/>
  <code>myGTween.proxy.blendMode = "multiply"; // passes value assignment through to the target<br/>
  trace(myGTween.target.blendMode); // "multiply" (value from target)<br/>
  trace(myGTween.proxy.blendMode); // "multiply" (value passed through from target)</code>
  <br/><br/>
  <b>Example 6:</b> Method calls are passed through to target:<br/>
  <code>myGTween.proxy.gotoAndStop(30); // gotoAndStop(30) will be called on the target</code>
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get proxy():Object</code>
<br>
</div>
<a name="reflect"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">reflect</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var reflect:Boolean = false</code><p>
  Indicates whether the tween should use the reflect mode when repeating. If reflect is set to true, then the tween will play backwards on every other repeat.
  This has similar effects to reversed, but the properties are exclusive of one another.
  For instance, with reversed set to false, reflected set to true, and a repeat of 1, the tween will play from start to end, then repeat and reflect to play from end to start.
  If in the previous example reversed was instead set to true, the tween would play from end to start, then repeat and reflect to play from start to end.
  Finally, with reversed set to false, reflected set to false, and a repeat of 1, the tween will play from start to end, then repeat from start to end
  </p></div>
<a name="repeat"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">repeat</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var repeat:int = 0</code><p>
  The number of times this tween will repeat. If 0, the tween will only run once. If 1 or more, the tween will repeat that many times. If -1, the tween will repeat forever.
  </p></div>
<a name="reversed"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">reversed</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>reversed:Boolean</code>&nbsp;&nbsp;[read-write]<p>
  Indicates whether a tween should run in reverse. In the simplest examples this means that the tween will play from its end values to its start values.
  See "reflect" for more information on how these two related properties interact. Also see reverse().
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get reversed():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set reversed(value:Boolean):void</code>
<br>
</div>
<a name="rotationProperties"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">rotationProperties</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static var rotationProperties:Object</code><p> A hash table specifying properties that should be affected by autoRotation. </p></div>
<a name="snapping"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">snapping</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var snapping:Boolean = false</code><p>
  If set to true, tweened values specified by snappingProperties will be rounded (snapped) before they are assigned to the target.
  </p></div>
<a name="snappingProperties"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">snappingProperties</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static var snappingProperties:Object</code><p> A hash table specifying properties that should have their value rounded (snapped) before being applied. This can be toggled for each tween instance basis with the .snapping property. </p></div>
<a name="state"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">state</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>state:String</code>&nbsp;&nbsp;[read-only]<p>
  Returns the current positional state of the tween. This does not indicate if the tween is paused - use the .paused property for this. Possible values are: <code>
  GTween.START, GTween.DELAY, GTween.TWEEN, GTween.END</code><br/>
  The beginning state indicates the tween either has not been played. The tween's position will equal -delay.<br/>
  The delayPhase state indicates that the tween is active (running), but is currently delaying prior to initing. The tween's position is less than 0. Note that it may be paused.<br/>
  The tweenPhase state indicates that the tween has inited, and is tweening the property values. Note that it may be paused.<br/>
  The end state indicates that the tween has completed playing. Setting any new properties on the tween will reset it, and set its state to beginning.
  <br/><br/>
  New tweens with autoplay set to false start with a state of START. When first played, a tween will have a state of either DELAY (if delay > 0) or TWEEN (if delay == 0).
  When the delay ends, and tweening begins, the state will change to TWEEN. When the tween reaches its end <code>position == durationrepeat+1)</code>, the state will be set to END. If you change any end
  properties on an ended tween, its state will be set back to START.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get state():String</code>
<br>
</div>
<a name="target"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">target</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>target:Object</code>&nbsp;&nbsp;[read-write]<p>
  The target object to tween. This can be any kind of object.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get target():Object</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set target(value:Object):void</code>
<br>
</div>
<a name="timeInterval"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">timeInterval</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>timeInterval:uint</code>&nbsp;&nbsp;[read-write]<p>
  Sets the time in milliseconds between updates when timingMode is set to GTween.TIME ("time"). Setting this to a lower number
  will generally result in smoother animations but higher CPU usage. Defaults to 40ms (~25 updates per second).
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public static function get timeInterval():uint</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set timeInterval(value:uint):void</code>
<br>
</div>
<a name="timingMode"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">timingMode</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>timingMode:String</code>&nbsp;&nbsp;[read-write]<p>
  Indicates how GTween should deal with timing. This can be set to GTween.TIME, GTween.FRAME, or GTween.HYBRID.
  <br/><br/>
  In frame mode, GTween will update once every frame, and all positional values are specified in frames (duration, position, delay, etc).
  <br/><br/>
  In time mode, updates will occur at an interval specified by the timeInterval property, independent of the frame rate, and all positional values are
  specified in seconds.
  <br/><br/>
  In hybrid mode, all updates occur on a frame, but all positional values are specified in seconds. Each frame the tween will calculate it's position based on the elapsed time.
  This offers lower CPU usage, and a more familiar time-based interface, but can result in choppy animations in high CPU situations.
  <br/><br/>
  The hybrid mode generally provides the smoothest results. The frame mode makes it easy to synch tweens with timeline animations.
  You can change modes at any time, but existing tweens will continue to use the mode that was active when they were created.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public static function get timingMode():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set timingMode(value:String):void</code>
<br>
</div>
<a name="tweenPosition"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">tweenPosition</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>tweenPosition:Number</code>&nbsp;&nbsp;[read-only]<p>
  Returns the calculated absolute position in the tween. This is a deterministic value between 0 and duration calculated
  from the current position based on the duration, repeat, reflect, and reversed properties.
  <br/><br/>
  For example, a tween with a position
  of 5 on a tween with a duration of 3, and repeat set to true would have a tweenPosition of 2 (2 seconds into the first repeat).
  The same tween with reflect set to true would have a tweenPosition of 1 (because it would be 2 seconds into the first repeat which is
  playing backwards). With reflect and reversed set to true it would have a tweenPosition of 2.
  <br/><br/>
  Tweens with a position less than 0 will have a tweenPosition of 0. Tweens with a position greater than <code>durationrepeat+1)</code>
  (the total length of the tween) will have a tweenPosition equal to duration.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get tweenPosition():Number</code>
<br>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="GTween()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">GTween</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function GTween(target:Object = null, duration:Number = 10, properties:Object = null, tweenProperties:Object = null)</code><p>
  Constructs a new GTween instance.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">target</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; The object whose properties will be tweened. Defaults to null.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">duration</span>:Number</code> (default = <code>10</code>)<code></code> &mdash; The length of the tween in frames or seconds depending on the timingMode. Defaults to 10.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">properties</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; An object containing end property values. For example, to tween to x=100, y=100, you could pass {x:100, y:100} as the props object.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">tweenProperties</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; An object containing properties to set on this tween. For example, you could pass {ease:myEase} to set the ease property of the new instance. This also provides a shortcut for setting up event listeners. See .setTweenProperties() for more information.
  </td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="beginning()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">beginning</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function beginning():void</code><p>
  Jumps the tween to its beginning. This is the same as setting <code>position=-delay</code>.
  </p></div>
<a name="deleteProperty()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">deleteProperty</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function deleteProperty(name:String):Boolean</code><p>
  Removes a end value from the tween. This prevents the GTween instance from tweening the property.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">name</span>:String</code> &mdash; The name of the end property to delete.
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code></td>
</tr>
</table>
</div>
<a name="end()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">end</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function end():void</code><p>
  Jumps the tween to its end. This is the same as setting <code>position=(repeat+1)uration</code>.
  </p></div>
<a name="getProperties()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getProperties</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getProperties():Object</code><p>
  Returns the hash table of all end properties and their values. This is a copy of the internal hash of values, so modifying
  the returned object will not affect the tween.
  </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Object</code></td>
</tr>
</table>
</div>
<a name="getProperty()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getProperty</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getProperty(name:String):Number</code><p>
  Returns the end value for the specified property if one exists.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">name</span>:String</code> &mdash; The name of the property to return a end value for.
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Number</code></td>
</tr>
</table>
</div>
<a name="getStartProperties()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getStartProperties</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getStartProperties():Object</code><p>
  Returns the hash table of all start properties and their values. This is a copy of the internal hash of values, so modifying
  the returned object will not affect the tween.
  </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Object</code></td>
</tr>
</table>
</div>
<a name="invalidate()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">invalidate</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function invalidate():void</code><p>
  Invalidate forces the tween to repopulate all of the initial properties from the target object, and start playing if autoplay is set to true.
  If the tween is currently playing, then it will also set the position to 0. For example, if you changed the x and y position of a the target
  object while the tween was playing, you could call invalidate on it to force it to resume the tween with the new property values.
  </p></div>
<a name="linearEase()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">linearEase</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function linearEase(t:Number, b:Number, c:Number, d:Number):Number</code><p> The default easing function used by GTween. </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">t</span>:Number</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">b</span>:Number</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">c</span>:Number</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">d</span>:Number</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Number</code></td>
</tr>
</table>
</div>
<a name="pause()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">pause</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function pause():void</code><p>
  Pauses the tween by stopping tick from being automatically called. This also releases the tween for garbage collection if
  it is not referenced externally.
  </p></div>
<a name="play()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">play</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function play():void</code><p>
  Plays a tween by incrementing the position property each frame. This also prevents the tween from being garbage collected while it is active.
  This is achieved by way of two methods:<br/>
  1. If the target object is an IEventDispatcher, then the tween will subscribe to a dummy event using a hard reference. This allows
  the tween to be garbage collected if its target is also collected, and there are no other external references to it.<br/>
  2. If the target object is not an IEventDispatcher, then the tween is placed in the activeTweens list, to prevent collection until it is paused or reaches the end of the transition).
  Note that pausing all tweens via the GTween.pauseAll static property will not free the tweens for collection.
  </p></div>
<a name="reverse()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">reverse</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function reverse(suppressEvents:Boolean = true):void</code><p>
  Toggles the reversed property and inverts the current tween position.
  This will cause a tween to reverse playing visually.
  There is currently an issue with this functionality for tweens with a repeat of -1
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">suppressEvents</span>:Boolean</code> (default = <code>true</code>)<code></code> &mdash; Indicates whether to suppress any events or callbacks that are generated as a result of the position change.
  </td>
</tr>
</table>
</div>
<a name="setAssignment()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setAssignment</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setAssignment(assignmentTarget:Object = null, assignmentProperty:String = null):void</code><p>
  Allows you to tween objects that require re-assignment whenever they are modified by reassigning the target object to a specified property of another
  object. For example, in order for changes to a colorTransform object to be visible,
  it must be assigned back to the <code>.transform.colorTransform</code> property of a display object. To make this work, you would call
  <code>myTween.setAssignment(myDisplayObject.transform,"colorTransform");</code>
  This will also cause GTween to retrieve the target each time it copies its initial values.
  <br/><br/>
  <b>Note:</b> this does not work with filters, as they must be assigned to an array first, and then to the filters property. Use GTweenFilter instead.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">assignmentTarget</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; The object to reassign the property on.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">assignmentProperty</span>:String</code> (default = <code>null</code>)<code></code> &mdash; The name of the property to reassign the target to.
  </td>
</tr>
</table>
</div>
<a name="setPosition()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setPosition</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setPosition(position:Number, suppressEvents:Boolean = true):void</code><p>
  Sets the position of the tween. Using the position property will always suppress events and callbacks, whereas the
  setPosition method allows you to manually set the position and specify whether to suppress events or not.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">position</span>:Number</code> &mdash; The position to jump to in seconds or frames (depending on the timingMode).
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">suppressEvents</span>:Boolean</code> (default = <code>true</code>)<code></code> &mdash; Indicates whether to suppress events and callbacks generated from the change in position.
  </td>
</tr>
</table>
</div>
<a name="setProperties()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setProperties</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setProperties(properties:Object):void</code><p>
  Shorthand method for making multiple setProperty calls quickly. This removes any existing target property values on the tween.
  <br/><br/>
  <b>Example:</b> set x and y end values:<br/>
  <code>myGTween.setProperties({x:200, y:400});</code>
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">properties</span>:Object</code> &mdash; An object containing end property values.
  </td>
</tr>
</table>
</div>
<a name="setProperty()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setProperty</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setProperty(name:String, value:Number):void</code><p>
  Sets the numeric end value for a property on the target object that you would like to tween.
  For example, if you wanted to tween to a new x position, you could use: myGTween.setProperty("x",400). Non-numeric values are ignored.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">name</span>:String</code> &mdash; The name of the property to tween.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:Number</code> &mdash; The numeric end value (the value to tween to).
  </td>
</tr>
</table>
</div>
<a name="setStartProperties()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setStartProperties</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setStartProperties(properties:Object):void</code><p>
  Allows you to manually assign the start property values for a tween. These are the properties that will be applied when the tween
  is at tween position 0. Normally these are automatically copied from the target object on initialization, or whenever a end value
  changes. You can also use the lockStartProperties property to ensure your start properties are not reinitialized after you set them.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">properties</span>:Object</code> &mdash; An object containing start property values.
  </td>
</tr>
</table>
</div>
<a name="setTweenProperties()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setTweenProperties</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setTweenProperties(properties:Object):void</code><p>
  Shortcut method for setting multiple properties on the tween instance quickly. This does not set end values (ie. the value to tween to).
  This method also provides you with a quick method for adding listeners to specific events, using the special properties:
  initListener, completeListener, changeListener.
  <br/><br/>
  <b>Example:</b> This will set the duration, reflect, and nextTween properties of a tween, and add a listener for the complete event:<br/>
  <code>myTween.setTweenProperties({duration:4, reflect:true, nextTween:anotherTween, completeListener:completeHandlerFunction});</code>
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">properties</span>:Object</code></td>
</tr>
</table>
</div>
<div class="detailSectionHeader">Event detail</div>
<a name="event:change"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">change</td><td class="detailHeaderType">event&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>flash.events.Event</code></a>
<br>
<p></p><p>
 This event is dispatched each time the tween updates properties on its target.
 It will be dispatched each "tick" during the TWEEN.
  </p></div>
<a name="event:complete"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">complete</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>flash.events.Event</code></a>
<br>
<p></p><p>
 Dispatched when a tween ends (its position equals its duration).
  </p></div>
<a name="event:init"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">init</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>flash.events.Event</code></a>
<br>
<p></p><p>
 Dispatched when a tween copies its initial properties and starts tweening. In tweens with a delay of 0, this event will
 fire immediately when it starts playing. In tweens with a delay set, this will fire when the delay state is ended, and the tween state is entered.
  </p></div>
<a name="constantDetail"></a>
<div class="detailSectionHeader">Constant detail</div>
<a name="DELAY"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">DELAY</td><td class="detailHeaderType">constant</td>
</tr>
</table>
<div class="detailBody">
<code>public static const DELAY:String = "delay"</code><p> Constant for the DELAY state. </p></div>
<a name="END"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">END</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const END:String = "end"</code><p> Constant for the END state. </p></div>
<a name="FRAME"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">FRAME</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const FRAME:String = "frame"</code><p> Constant for the FRAME timingMode. </p></div>
<a name="HYBRID"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">HYBRID</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const HYBRID:String = "hybrid"</code><p> Constant for the HYBRID timingMode. </p></div>
<a name="START"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">START</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const START:String = "start"</code><p> Constant for the START state. </p></div>
<a name="TIME"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">TIME</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const TIME:String = "time"</code><p> Constant for the TIME timingMode. </p></div>
<a name="TWEEN"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">TWEEN</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const TWEEN:String = "tween"</code><p> Constant for the TWEEN state. </p></div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
